package com.example.demo.init;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.util.HashMap;
import java.util.Map;

/**
 * @author kw
 * @program demo1
 * @description
 * @create 2024 - 11 - 29 17:20
 **/
@Component
public class InitMapper {
    private Map<String, Mapper> map = new HashMap<>();

    @PostConstruct
    public void init() {
        Class<?>[] classes = Mapper.class.getClasses();
        System.out.println(classes);
    }
}
